package result;

public class SystemException extends RuntimeException{
        private static final long serialVersionUID = 1095242212086237834L;
        protected Object errorCode;
        protected Object[] args;
        public SystemException() {
            super();
        }
        public SystemException(String message, Throwable cause) {
            super(message, cause);
        }
        public SystemException(String message) {
            super(message);
        }
        public SystemException(String message, Object[] args, Throwable cause) {
            super(message, cause);
            this.args = args;
        }
        public SystemException(String message, Object[] args) {
            super(message);
            this.args = args;
        }
        public SystemException(Object errorCode, String message, Throwable cause) {
            super(message, cause);
            this.errorCode = errorCode;
        }
        public SystemException(Object errorCode, String message) {
            super(message);
            this.errorCode = errorCode;
        }
        public SystemException(Object errorCode, String message, Object[] args, Throwable cause) {
            super(message, cause);
            this.args = args;
            this.errorCode = errorCode;
        }
        public SystemException(Object errorCode, String message, Object[] args) {
            super(message);
            this.args = args;
            this.errorCode = errorCode;
        }
        public SystemException(Throwable cause) {
            super(cause);
        }
        public Object[] getArgs() {
            return args;
        }
        public Object getErrorCode() {
            return errorCode;
        }

}
